package com.charles.service;


import com.charles.entity.ShortUrl;
import com.charles.vo.param.ShortUrlParam;

/**
 * @author charles
 * @date 2022/9/4 13:57
 */
public interface ShortUrlService {
    String shorten(ShortUrlParam shortUrlParam);

    ShortUrl getOriginUrl(String compressCode);

    void save(ShortUrl shortUrl);
}
